% BEM-LAP-MAT project
% Matlab/Freemat codes
% Copyright 2008 Stephen Kirkup 
% http://www.researchgate.net/profile/Stephen_Kirkup
% University of Central Lancashire
% Issued under the GNU General Public License 2007, see gpl.txt
% www.boundary-element-method.com

% function [wts,pts,n]=gl()
% Sets up a Gauss-Legendre Quadrature
%  for integration over [0,1]
%  with n=8 weights (wts) and points (pts)


       function [wts,pts,n]=gl()
       n=8;
       wts= [ 5.061426814519E-02  
              0.111190517227  
              0.156853322939  
              0.181341891689  
              0.181341891689  
              0.156853322939  
              0.111190517227  
              5.061426814519E-02];
       pts= [ 1.985507175123E-02 
              0.101666761293  
              0.237233795042  
              0.408282678752  
              0.591717321248  
              0.762766204958 
              0.898333238707  
              0.980144928249];